package com.hspedu.extend_;

public class Extend01 {
    public static void main(String[] args) {
        Pupil pupil = new Pupil();
        pupil.name = "小明";
        pupil.age = 10;
        pupil.testing();
        pupil.setScore(60);
        pupil.showInfo();

        System.out.println("===========");
        Graduate graduate = new Graduate();
        graduate.name  = "大龙";
        graduate.age = 21;
        graduate.testing();
        graduate.setScore(70);
        graduate.showInfo();
    }
}
